Hi everyone,
So I'm trying to use an IF statement to copy a certain list onto the "value if true" part". But since this list has a different range, the values I get are not in order of the list.
Is there a way to get the values in order on excel?
EG:
russian problem.png
Now I'm trying to use the IF formula (in the C column) as such: IF(B:B="A",A:A,""). But using this formula I only get 1, 3 , 8. Is there a way for excel to select them in order so I end up getting 1, 2, 3 etc?
Hope the explanation was clear, if not, please ask!
Need help on this ASAP please!
EDIT:
Thanks for your replies! Many of you are suggesting to use a CountIf Function but this is the problem with that:
This will only work if the list is 1,2,3 etc though. I had suggested this to simplify the problem. I have loads of data (thousands of rows) on several pages. I'm going to be using the is statement something like this in reality: =IF(A:A=0,Sheet2!A:A,""). I have managed to use the IF statement to copy out a column of 0's spaced out the same as the "destination" column. Now I am using the 0's as the "destination" and if there is a 0 present (ie a value is required to be pasted), then excel should copy out (in order) the list on Sheet2 A:A, otherwise leave it blank.
Hope this explains it a bit better
I have attached a sample file below, pls try to use it and see if you can figure something out
Bookmarks