formatting in excel [closed] - excel

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
In excel-2010 can we format time column into text along with AM/PM information for corresponding time?
For example, COLUMN A has "daily" as text and column B has "6.00 PM " as value. Can we append these A & B Columns and display as "daily 6.00 PM" in single cell?

Yes, try this formula:
=CONCATENATE(A1," ",TEXT(B1,"hh.mm AM/PM"))
The CONCATENATE function or '&' can be used to join values as text.
The TEXT function can be used to change values to text with a specific format.

Related

How to concatenate values from one column with each vales from second column? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I need to concatenate values form one column with each values from second column like on picture in Excel.
Any ideas how to do that?
In C2 enter:
=INDEX($A$2:$A$99,ROUNDUP(ROWS($1:1)/3,0)) & "_" & INDEX($B$2:$B$33,MOD(ROWS($1:1)-1,3)+1)
and copy downward:
NOTE:
The number 3 in the formula above is there because there are 3 items in column B
To "generalize" the formula replace:
3
with:
(COUNTA($B$2:$B$99))

How to select a whole column or row in a formula in excel? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I want to select a whole column for a formula in excel.
I know I can do this, for example:
=AVERAGE(B4:B54)
which would give me the average of the cells from B4 to B54 but I want to reference the whole B column.
How can I do this?
To reference an entire column in Excel, use this syntax:
=AVERAGE(B:B)

Sum a range of cells based on condition [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a sheet like below:
I want to be able to SUM the Value fields if there is a tick next to that person's name, you will see each name has a value and if they attended that week and have a tick then include this value in the sum. I want to populate the Collected Field to show how much was collected that week.
I have tried SUMIF on a range but with no success.
Thanks in advance
SUMIF should work if you want to do it for each week, e.g. in C22 copied across
=SUMIF(C5:C19,"x",$B5:$B19)
replace the "x" with the specific character you are using to get the tick

Pure Excel: How do I reference a column wit a dynamic number? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I create a random number in my excel sheet (using RAND), 5 for example. Now I want to reference column A[my number], in this example its A5. How would I do that?
If thats not possible, is it possible to get a random row value from a column?
Thanks!
=INDIRECT("A"&RANDBETWEEN(1;10)) will randomly return cell in range A1:A10.
Usually INDEX is preferable to INDIRECT (it's not volatile and you don't need to "hardcode" the column reference). If you have your random number in B3 try
=INDEX(Data!A:A,B3)

Text AND Date in Excel Cell - Read Date Only [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have some text AND a date (seperated by a hyphen) in one excel cell e.g. "Anniversary - 12/12/2012"
I want to be able to read the date only and if it is greater than the current date - the cell should become highlighted.
Can this be done via excel functions or do I need to write some VBA?
MC
Mark the area with all values, and chose "Conditional Formatting". Select "More Rules" from "Highlight Cells Rules" and select "Use a formula to determine which cells to format". Put this formula in the rule description field:
=DATEVALUE(MID($A1,FIND(" - ",$A1)+3,10))>TODAY()
Don't forget to chose the formatting options with "Format..."

Resources